#筛选一定范围内回文
#No.1
def is_palindrome(number):
    if list(str(number))==list(reversed(str(number))):
        return True

if __name__ == '__main__':
    palinNumbers = (filter(is_palindrome,range(1,1000)))
    for palinNumber in list(palinNumbers):
        print(palinNumber)

#No.x